package com.youth.youthservice.service;

import com.youth.commonutils.R;
import com.youth.youthservice.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youth.youthservice.entity.vo.CourseVo.SubjectParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author CM
 * @since 2023-4-26
 */
public interface EduSubjectService extends IService<EduSubject> {

    R getAllSubject4Publish();

    R getOneLevelSubjects();

    R addSubject(SubjectParam subjectParam);

    R removeSubject(String id, String parentId);
}
